package com.zmm.zebulon.module.member.biz.service.level;

import com.zmm.zebulon.common.pojo.PageResult;
import com.zmm.zebulon.module.member.biz.controller.admin.level.vo.record.MemberLevelRecordPageReqVO;
import com.zmm.zebulon.module.member.biz.dal.dataobject.level.MemberLevelRecordDO;

/**
 * description: 会员等级记录 Service 接口
 *
 * @author zebulon
 * package com.zmm.zebulon.module.member.biz.service.level
 * name: MemberLevelRecordService
 * date 2024/1/10 21:54
 */
public interface MemberLevelRecordService {

    /**
     * 获得会员等级记录
     *
     * @param id 编号
     * @return 会员等级记录
     */
    MemberLevelRecordDO getLevelRecord(Long id);

    /**
     * 获得会员等级记录分页
     *
     * @param pageReqVO 分页查询
     * @return 会员等级记录分页
     */
    PageResult<MemberLevelRecordDO> getLevelRecordPage(MemberLevelRecordPageReqVO pageReqVO);

    /**
     * 创建会员等级记录
     *
     * @param levelRecord 会员等级记录
     */
    void createLevelRecord(MemberLevelRecordDO levelRecord);

}

